package com.hljx.mapper.sys;

import com.hljx.dto.DateDTO;
import com.hljx.entity.EtlItemSummary;
import com.hljx.entity.WorkloadSummary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2023-11-29
 */
@Mapper
public interface WorkloadSummaryMapper extends BaseMapper<WorkloadSummary> {
    List<WorkloadSummary> listByPage(DateDTO dateDTO);


    void   insertBatch (@Param("list") List<WorkloadSummary> list, @Param("period") String period);
    void    deleteAll(@Param("period") String period);
}
